togglebutton: Don't emit clicked during set_active()
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Oct 2019 05:00:24 +0000 (07:00 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 29 Oct 2019 03:56:19 +0000 (04:56 +0100)
commit553a9c292d5b6de2f4c413dd74edd81183eff818
tree0cb1ee2b7ecbd9f02eac4af2d9198c61f8c1a998
parentabd4754648d096f8c88251c29f64d3a4d1153ca9
togglebutton: Don't emit clicked during set_active()

set_active() is meant to set the state of the property, which happens
during setup.
The clicked signal is emitting events from user actions.

It is impossible to use Togglebuttons for MVC applications as long as it
does that.
gtk/gtkradiobutton.c
gtk/gtktogglebutton.c
gtk/gtktogglebuttonprivate.h [deleted file]